#ifndef __KERNEL_H__
#define __KERNEL_H__

#include <stdio.h>
#include <stdlib.h>
#include <fftw3.h>

/* allocate memory and init */
void prepare(long block_size,int ntap,int nfft);
/* execute opfb,then per-subband do coherent_dedispersion */
void operation(const char *input_name,const char *output_name,const char *coeffs_name,
                int ntap,int nfft,long block_size,int opfb_factor);
/* free all variables */
void destroy();

#endif